<?php

abstract class ScriptAlone_Store {

	/**
	 * @return ScriptAlone_State|null
	 */
	abstract public function getState();

	/**
	 * @param ScriptAlone_State $state
	 * @throws Exception
	 */
	abstract public function saveState(ScriptAlone_State $state);

	abstract public function clearState();
}
